package br.com.pnfp.web.model.enums;

public enum SimNao {
	
	SIM(1),
	NAO(0);
	
	private Integer id;
	
	SimNao(Integer id) {
		this.id = id;
	}
	
	public Integer getId() {
		return id;
	}
	
	public static SimNao setValue(Integer value) {
		if(value == null || value.equals("") || value.intValue() == 0) {
			return NAO;	
		}
		else
			return SIM;
	}

}
